package dao;

import org.w3c.dom.Document;

import utility.Util_Trading;

public class GeteBayOfficialTimeDAO {
	
	public static String getEbayOfficialTime() {
		Document response = Util_Trading.sendRequest("GeteBayOfficialTime.txt", null);
			//System.out.println(response.getElementsByTagName("Timestamp").item(0).getChildNodes().item(0).getNodeValue());
			String time = response.getElementsByTagName("Timestamp").item(0).getChildNodes().item(0).getNodeValue();
			//String ack = response.getElementsByTagName("Ack").item(0).getChildNodes().item(0).getNodeValue();
		return time;
	}
	
}
 